// EndPosition.h provides the attributes of the EndPosition class
//-----------------

#if !defined( EndPositionH)
#define EndPositionH

//-----------------
// Includes various libraries and files
#include <cassert>		// for asserts
#include <d3dx9.h>		// Direct 3D library (for all Direct 3D functions)

#include "constants.h"
//-----------------

class EndPosition {
	public:
		// constructors and destructor
		EndPosition();
		EndPosition( const float& x, const float& y, const float& z);
		EndPosition( const D3DXVECTOR3& pos);
		EndPosition( const EndPosition& ep);
		~EndPosition();

		// accessors
		float get_x() const;
		float get_y() const;
		float get_z() const;
		D3DXVECTOR3 get_position() const;

		// mutators
		void set_x( const float& x);
		void set_y( const float& y);
		void set_z( const float& z);
		void set_position( const D3DXVECTOR3& pos);

		bool collision( const D3DXVECTOR3& pos) const;

	private:
		D3DXVECTOR3 position_;

		// ##### NOTE #####
		// Other variables will be needed later to implement different outcomes when the player
		// reaches the end of a level.
		// ##### NOTE #####
};

#endif